<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>首页</title>
    <link rel="stylesheet" href="./css/common.css">
    <link rel="stylesheet" href="./css/index.css">
    <script src="./lib/template-web.js"></script>
    <script src="./lib/jquery-3.4.1.min.js"></script>
    <script src="./js/rem.js"></script>
    <script src="./js/index.js"></script>
</head>

<body>
    <!-- header -->
    <div class="header">
        <a href="index.html" class="logo">
            <img src="./img/header_logo.png" alt="">
        </a>
        <a class="he-app" href="#">
            <img src="./img/header_app.png" alt="">
        </a>
    </div>

    <!-- search -->
    <div class="search">
        <form action="">
            <input type="text" name="" id="" placeholder="请输入你想比价的商品">
            <button>搜索</button>
        </form>
    </div>

    <!-- nav -->
    <div class="nav">



    </div>

    <!-- line -->
    <div class="line">
        <p>超值折扣推荐</p>
        <a href="">
            &gt;
        </a>
    </div>

    <!-- main -->
    <div class="main">
        <div class="main-box">
            <a href="">
                <img class="main-img" src="./img/main1.jpg" alt="">
            </a>
            <div class="main-p">
                <p class="p-top">
                    移动端凑单品：海天 鲜味 生抽 1.28L
                    <span>10.9元</span>
                </p>
                <p class="p-down">
                    <span>京东商城 | 10-25 14:10</span>
                    <span>有1人评论</span>
                </p>
            </div>
        </div>





    </div>

    <!-- more -->
    <div class="more">
        <div class="more-box">
            更多优惠信息 »
        </div>
    </div>

    <!-- line -->
    <div class="line">
        <p>品牌排行</p>
        <a href="">
            &gt;
        </a>
    </div>

    <!-- foot -->
    <div class="foot">
        <div class="foot-top">
            <ul>
                <li>
                    <a href="">登录</a>
                </li>
                <li>
                    <a href="">注册</a>
                </li>
                <li>
                    <a href="#">
                        <img src="./img/top.jpg" alt="">
                        返回到顶部
                    </a>
                </li>
            </ul>
        </div>

        <div class="foot-base">
            <p>
                <span class="red">手机APP下载</span>
                <span class="h">慢慢买手机版</span>
                <span> -- </span>
                <span>掌上比价平台</span>
            </p>
            <p>m.manmanbuy.com</p>
        </div>
    </div>

    <script type="text/html" id="tmp">
        {{ each result v i }} 
       
        <a data-id="{{ v.indexmenuId }}" class="nav-box {{ i > 7 ? 'hide' : '' }}" href="{{ v.titlehref }}.html">
            <img src="./img/{{ v.img }}" alt="">
            <p>{{ v.name }}</p>
        </a>
        {{ /each }}
    </script>
    <script type="text/html" id="tql">
        {{ each result v i }}
        <div class="main-box">
           
            <a data-id="{{ v.productId }}" href="./moneyproduct.html?productId={{ v.productId }}">
                <img  class="main-img" src="{{ v.productImgLg.src }}" alt="">
            </a>
            <div class="main-p">
                <p class="p-top">
                    {{ v.productName }}
                    <span>{{ v.productPinkage }}</span>
                </p>
                <p class="p-down">
                    <span>{{ v.productFrom }}| {{ v.productTime }}</span>
                    <span>{{ v.productComCount }}</span>
                </p>
            </div>
           
        </div>
        {{ /each }}
    </script>

    
</body>

</html>